package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dormitory_finance
 * 
 * @author ruoyi
 * @date 2023-01-11
 */
public class DormitoryFinance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 财务ID */
    private Long financeId;

    /** 楼栋号 */
    @Excel(name = "楼栋号")
    private String buildingNumber;

    /** 宿舍号 */
    @Excel(name = "宿舍号")
    private Long dormitoryNumber;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String financeName;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal financePrice;

    /** 所属负责人 */
    @Excel(name = "所属负责人")
    private String financePrincipal;

    /** 物品状态 */
    @Excel(name = "物品状态")
    private String financeState;

    /** 赔偿人 */
    @Excel(name = "赔偿人")
    private String compensator;

    /** 检查更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date financeCheckTime;

    public void setFinanceId(Long financeId) 
    {
        this.financeId = financeId;
    }

    public Long getFinanceId() 
    {
        return financeId;
    }
    public void setDormitoryNumber(Long dormitoryNumber) 
    {
        this.dormitoryNumber = dormitoryNumber;
    }

    public Long getDormitoryNumber() 
    {
        return dormitoryNumber;
    }
    public void setBuildingNumber(String buildingNumber)
    {
        this.buildingNumber = buildingNumber;
    }

    public String getBuildingNumber()
    {
        return buildingNumber;
    }
    public void setFinanceName(String financeName) 
    {
        this.financeName = financeName;
    }

    public String getFinanceName() 
    {
        return financeName;
    }
    public void setFinancePrice(BigDecimal financePrice) 
    {
        this.financePrice = financePrice;
    }

    public BigDecimal getFinancePrice() 
    {
        return financePrice;
    }
    public void setFinancePrincipal(String financePrincipal) 
    {
        this.financePrincipal = financePrincipal;
    }

    public String getFinancePrincipal() 
    {
        return financePrincipal;
    }
    public void setFinanceState(String financeState) 
    {
        this.financeState = financeState;
    }

    public String getFinanceState() 
    {
        return financeState;
    }
    public void setCompensator(String compensator) 
    {
        this.compensator = compensator;
    }

    public String getCompensator() 
    {
        return compensator;
    }
    public void setFinanceCheckTime(Date financeCheckTime) 
    {
        this.financeCheckTime = financeCheckTime;
    }

    public Date getFinanceCheckTime() 
    {
        return financeCheckTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("financeId", getFinanceId())
            .append("dormitoryNumber", getDormitoryNumber())
            .append("buildingNumber", getBuildingNumber())
            .append("financeName", getFinanceName())
            .append("financePrice", getFinancePrice())
            .append("financePrincipal", getFinancePrincipal())
            .append("financeState", getFinanceState())
            .append("compensator", getCompensator())
            .append("financeCheckTime", getFinanceCheckTime())
            .toString();
    }
}
